@import './variables.scss';

html,
body,
#app {
  height: 100%;
  width: 100%;
}

.app-wrapper {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.app-container {
  flex: 1;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  background-color: $--bg-color-base;
}

.slider-container {
  width: 200px;
  background: $--bg-color-primary;
  // @extend .boxShadowBase;
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.main-container {
  min-width: $minWidth;
  padding: 10px 20px;
  box-sizing: border-box;
  overflow: hidden;
  overflow-y: scroll;
  position: relative;
  flex: 1;
  display: flex;
}

.main-nav {
  height: 50px;
  line-height: 30px;
  padding: 10px;
  font-size: 16px;
  font-weight: bold;
  box-sizing: border-box;
}

.container {
  background: rgba(255, 255, 255, 1);
  border-radius: $--border-radius-base;
  overflow: hidden;
  box-sizing: border-box;
  min-width: $minWidth;
  display: flex;
  flex: 1;
  flex-direction: column;
  box-shadow: 0px 0px 8px 2px rgba(0, 0, 0, .1);
  position: relative;
}

.container-nopadding {
  padding: 10px 0px;
}

.nav-container {
  width: 100%;
  height: 50px;
  background: $--bg-color-primary;
  padding: 0 20px;
  box-sizing: border-box;
  box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.1);
  min-width: $minWidth;
}

.content {
  padding: 10px;
  flex: 1;
  box-sizing: border-box;
  position: relative;
  min-width: $minWidth;
  overflow: hidden;
  overflow-y: scroll;
}

.containerflex {
  height: 100%;
  overflow-y: scroll;
}

.content-btn {
  margin-bottom: 10px;
}

.row-hover-content {
  position: relative;

  &::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: rgba(41, 41, 41, 0.1);
  }


  .row-hover-content-tips {
    left: 0;
  }
}

.select-pro {
  .select-input {
    text-align: center;
    background-color: #FFFFFF;
    border-radius: 3px;
    border: 1px solid #DCDFE6;
    box-sizing: border-box;
    color: #606266;
    display: inline-block;
    height: 30px;
    line-height: 30px;
    outline: none;
    padding: 0 5px;
    transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
    width: 100%;

    &:focus {
      border-color: rgb(24, 144, 255);
    }
  }

  .select-input.error {
    border-color: #F56C6C;
  }

  .select-input.disabled {
    cursor: not-allowed;
    background-color: #f5f7fa;
    border-color: #e4e7ed;
    color: #c0c4cc;
  }

  .error-tips {
    font-size: 12px;
    color: #F56C6C;
    position: absolute;
    // left: 15px;
    bottom: 10px;
    line-height: 16px;
    text-align: center;
    width: 100px;
  }
}

.select-page {
  display: flex;
  justify-content: space-between;
  align-content: center;
  align-items: center;
}

.set-spec-opr {
  font-size: 12px;
  margin-top: 10px;

  .el-checkbox__label {
    font-size: 12px;
    font-weight: 400;
  }
}